Skip to content

feat: ship the default agent (General Assistant) and the platform skills with the chart - #1265

Merged
Rotfuks merged 60 commits into
mainfrom
feat/agent-manager-assistant
Nov 11, 2026
Merged

Rotfuks merged 60 commits into
mainfrom
feat/agent-manager-assistant

Conversation

@Rotfuks

@Rotfuks Rotfuks commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Towards giantswarm/giantswarm#38970, giantswarm/giantswarm#38322

The chart now ships the platform's default agent, default-agent (display name defaultAgent.displayName, default General Assistant), the platform's skills and the skill-manager component. Contract: one platform-shipped agent replaces "Agent Manager"; people start there.

What

  • skills/: the five agent-platform-* skills from giantswarm/agent-platform-skills@10712bd, plus the new agent-platform-agent-routing. Their references now point at giantswarm/agent-platform (skills/).
    • agent-platform-agent-routing: when a task deserves a specialist (repeats, scheduled/triggered, automation, own setup, shared), finding an existing agent from x_agent-manager_list_agents (description, skills/toolset, readiness, default), handing over to agent-platform-agent-management for creation, and the start link [Start a session with <Display name>](/?agent=<installation>%2F<namespace>%2F<name>#prompt=<url-encoded brief>) (portal home /, NEW_SESSION_AGENT_PARAM, AgentRow id, <installation> from x_agent-manager_get_info; the #prompt= fragment, which stays out of server logs, is the parallel backstage change). Overview and agent-management point to it.
    • scripts/validate_skills.py (make verify-skills, part of verify-all) checks layout only: a SKILL.md exists only under skills/<name>/, its frontmatter parses, and its name matches the directory. It copies no runtime rules (AGENTS.md). No .github/workflows change.
  • agents/default-agent/values.yaml (agents is a symlink to helm/agent-platform/agents/, so the chart packages it): display name and description from defaultAgent.displayName / defaultAgent.description (defaults "General Assistant" and "Start here. Handles everyday tasks with your connectors and helps you find or create the right agent."); the prompt names the agent by [[ .DisplayName ]], substituted at render
    • The prompt is triage: one-off tasks with the person's connectors; repeatable, scheduled, automation or own-setup tasks → suggest a specialist, recommend an existing one with a start link or guide its creation; platform questions; the six portal roles. The muster meta-tool paragraph is short and points to agent-platform-tools.
    • Skills are {name, path: skills/<name>, git: {url, commit: "[[ .SHA ]]"}}. The agent chart's key is commit.
  • Component default-agent: chart agent, range >=2.0.0 <3.0.0, which must equal agent-manager.agentChart.semver (a test checks this).
    • It installs into the kagent component's namespace (agent-platform.kagent.namespace).
    • enabled: true, but it renders only while kagent, muster and agent-manager are all on. dependsOn: [muster, kagent, agent-manager].
    • The HelmRelease and the Agent (the agent chart's labels) carry agent-platform.giantswarm.io/managed-by: agent-platform and agent-platform.giantswarm.io/default: "true" (agent-manager reports default from it).
    • Derived values:
      • muster.url
      • agent.iconUrl: the DiceBear route's first hostname, else avatars.<global.domain>
      • agent-manager gets installation (backstage.installationName) from skillManagerFloor on; get_info reports it for the start link's agent id
      • toolset: [preset:full] (it acts as the person)
      • modelConfig.name from defaultAgent.modelConfig
    • New loop keys valuesFile, labels and inKagentNamespace. Releases, teardown waves, CRD and GPU owner checks, the serving teardown and NOTES now use the component key as the release name. The key equals the chart name for every existing component.
  • Component skill-manager (giantswarm/skill-manager, contract in giantswarm/giantswarm#38322): chart skill-manager from oci://gsoci.azurecr.io/charts/giantswarm, range >=0.1.0 <0.2.0, BOM pin 0.1.0 (released).
    • No enabled key: on wherever agent-manager is on; enabled: false leaves it out. Platform namespace, dependsOn: [muster]; agent-manager dependsOn it. gatedRoster.
    • Values block skill-manager: (OAuth as the person, muster MCPServer with forwardToken and dex-k8s-authenticator, OTLP auto; the chart stamps tool group agent-platform). skill-manager.github takes the App/token Secret.
    • Derived: oauth.enabled: true (Dex via global.identity, as for the other managers), networkPolicy.ingressNamespaces (the chart's own policy, on by default: muster's, the portal's, agent-manager's and the kagent namespace, after the block's own), and serviceToken.secretName: skill-manager-service-token while agent-manager pins through it.
    • Connectivity: networkPolicy.mcpBackends.skill-manager (muster's egress), agent-manager's egress (both flavours); generates skill-manager-service-token (lookup-kept, resource-policy: keep) in the skill-manager's and the kagent namespace; the migrate run gets AGENT_MANAGER_SKILL_MANAGER_URL, SKILL_MANAGER_TOKEN and egress to it.
    • Skill sources: skillManager.sources (URLs or {url, ref, path, readOnly}) replaces skills.repositories.
    • The skill-manager's sources: the platform source {url: https://github.com/giantswarm/agent-platform, ref: v<version>, path: skills, readOnly: true} first (no ref on a pre-release; skills.platformSource.enabled: false removes it), then skillManager.sources as written. An own skill-manager.sources fails.
    • The portal's skillsRepositories (agentPlatform.skills.repositories): the same, from its object-form floor; below it URLs only.
    • agent-manager: skillManager.url (http://skill-manager.<ns>.svc.cluster.local:8080) from agent-platform.agentManager.skillManagerFloor, no sources. Below it, or with the skill-manager off, skills.repositories as URLs only, no platform source — never objects.
    • Deprecated agent-manager.skills.repositories / backstage.skillsRepositories still replace skillManager.sources for their consumer; the agent-manager list fails the render while agent-manager pins through the skill-manager.
    • Entries dedupe on url + ref + path (trailing / / .git ignored); an entry for the platform repository fails while the platform source is on. Schema items type: [string, object] plus $ref, valid under draft 2020-12 (tested).
  • connectivity: agentPlatform.metaAgents.* is <installationName>/<kagent namespace>/default-agent while the assistant and agent-manager are on.

Stamping the release commit

  • The tag-only job stamp-release-commit (.circleci/custom.yml) runs hack/stamp-release-commit.sh "$CIRCLE_SHA1" and persists helm/agent-platform/agents.
  • verify-release-floors requires it, so it is upstream of the generated push-chart-release, which attaches the workspace over its checkout before ABS packages the chart.
  • Unstamped behaviour:
    • A pre-release or the working tree (appVersion ≠ version) renders the agent without skills.
    • A published release (no pre-release, appVersion = version) that still carries the placeholder fails the render.
  • Proof:
    • make verify-default-agent covers stamped, unstamped-release and pre-release packages.
    • I simulated the merged CircleCI config locally: stamp step → workspace → fresh clone → helm package 9.9.9. All skills were pinned to the commit, agent chart 2.5.1 rendered them with the label on the Agent, and an unstamped 9.9.8 package failed to render.

Floors to set at release (placeholders)

  • agent-platform.agentManager.skillManagerFloor = 2.24.0 (placeholder): the agent-manager release with agent-manager#290 (the skill-manager client). 2.22.0 shipped without it and its closed values schema refuses skillManager and installation; set the floor to the real release, then raise components.agent-manager.versionRange to it.
  • agent-platform.backstage.skillSourcesFloor = 3.31.0: the release of backstage#3355.

Tests

  • make verify-all: all 116 targets pass (after merging origin/main) (verify-default-agent covers the skill-manager wiring, the sources and agent-manager's floor switch).
  • Goldens updated with make golden-update.
  • pre-commit run --all-files passes.
  • helm lint passes for both charts.
  • helm template with the component disabled, or with agent-manager off, renders no default agent.
  • ATS smoke expects the default agent and that it is the only Agent labelled agent-platform.giantswarm.io/default; own-flux does not (agent-manager is off there). Both run in CI only.

Checklist

  • Update changelog in CHANGELOG.md (no longer edited; the PR title is the release note).
  • Make sure values.yaml and values.schema.json are valid.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
@Rotfuks
Rotfuks requested a review from a team as a code owner November 4, 2026 09:36
…urces and the release stamp

Review of #1265: the assistant needs agent-manager on and installs into the
kagent namespace; the platform skill source is optional
(skills.platformSource.enabled), reaches a consumer only at its object-form
floor and names no ref on a pre-release; a consumer's own deprecated list
replaces skills.repositories; sources dedupe on url+ref+path and an entry for
the platform repository fails; an unstamped release fails its render; release
names follow the components key everywhere; the Agent is labelled managed-by;
the skills validator checks layout only.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
…ref and the stamp check

A working-tree chart (appVersion 0.1.0) got ref v<version>, a tag that does
not exist, while its skills were treated as unreleased.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
… the Agent Manager

Connectors and tool-group labels instead of three fixed server groups; the
Dev Portal's rail (New session, Sessions, Customize, Usage); the platform's
own Agent Manager (managed: platform, read-only). Live recipes use
agent-manager and core tools instead of installation-specific workflows;
component table replaced with the live HelmRelease recipe; Giant
Swarm-internal assumptions removed.
…e_mcpserver_list

Fixes giantswarm/giantswarm#38776: no more Servers page; connectors live
under Customize -> Connectors. Adds the Awaiting Session state, the
session-bound toolset, filter_tools' servers_requiring_auth. model-manager is
on by default. Drops installation-specific workflow names and runtime and
token-expiry claims that could not be verified.
…atus, egress, skill sources

Follows agent-manager main and #290: managed: platform is read-only, gitops
changes through mode commit, get_agent_status replaces the internal
workflow, egress and EgressPolicies, list_skills' ref/path/readOnly,
refreshSkills follows the source's ref, private skills via
gitAuthSecretName, start_session and get_session's current maxBytes range.
…rrent runtime

Skills come from skillsSources (url, ref, path, readOnly); the platform's
skills are a read-only source pinned to the release. Runtime section follows
the Go ADK (scratch directory, skills/ link, egress-limited network, unknown
frontmatter dropped). Private repositories work with gitAuthSecretName or the
installation's credential.
…ime paths

A skill from a read-only source gets a report without a pull request
(backstage#3355). Local paths, network and frontmatter checks follow the
current runtime.
…building blocks

Every agentPlatform.metaAgents role the portal reads (generalInformation,
agentManagement, workflowManagement, platformOperations, skillEvaluation,
skillCreation) defaults to the Agent Manager; backstage.metaAgents.<role>
points a role elsewhere. The prompt covers each role and names only
agent-manager and Muster core tools.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
…and call_tool contract point to their owning skills; session export runs from a laptop
…red-skill sentence; one home for private-repo rules
… to the authoring skill; where the previous pin comes from
ATS: the Agent stays InProgress until its model answers, so helm-controller's
wait timed out and the platform install failed. components.<name>.disableWait
renders install and upgrade disableWait; the Agent reports its own status.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
…red teardown removes

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
@circleci-architect

circleci-architect Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Published Helm chart agent-platform-connectivity

4.178.1-r39fbc44bt20261111215452h0ca4f27
Chart agent-platform-connectivity
Version 4.178.1-r39fbc44bt20261111215452h0ca4f27
OCI reference oci://gsoci.azurecr.io/charts/giantswarm/agent-platform-connectivity:4.178.1-r39fbc44bt20261111215452h0ca4f27
Digest sha256:180cd048bed8249743b195b49bc085df6d3755ab51faff2103c80fd76112017b
Registry public — gsoci.azurecr.io
Git catalog giantswarm-test-catalog (index)
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-platform-connectivity --version 4.178.1-r39fbc44bt20261111215452h0ca4f27

Posted by architect-orb · build 31963 · commit 0ca4f27 · updated in place on every push

@circleci-architect

circleci-architect Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Published Helm chart agent-platform

4.178.1-r39fbc44bt20261111215452h0ca4f27
Chart agent-platform
Version 4.178.1-r39fbc44bt20261111215452h0ca4f27
OCI reference oci://gsoci.azurecr.io/charts/giantswarm/agent-platform:4.178.1-r39fbc44bt20261111215452h0ca4f27
Digest sha256:4612caa1dcf55a848d7d670a76b05a04348f489a84c1ddd5321d9177169ca9cc
Registry public — gsoci.azurecr.io
Git catalog giantswarm-test-catalog (index)
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-platform --version 4.178.1-r39fbc44bt20261111215452h0ca4f27

Posted by architect-orb · build 31960 · commit 0ca4f27 · updated in place on every push

skill-manager (giantswarm/giantswarm#38322) follows agent-manager, registers
with muster and owns the skill sources: skillManager.sources (URLs or
{url, ref, path, readOnly}) after the platform's skills/, also fed to the
portal. agent-manager gets skillManager.url from its skill-manager floor (a
placeholder for the release with giantswarm/agent-manager#290), else the
deprecated URL list. The connectivity chart admits muster and agent-manager
to it. The range and the BOM pin are placeholders until its first release.
…sistant

# Conflicts:
#	UPGRADE.md
#	helm/agent-platform/values.schema.json
…'s migrate run calls it with a generated service token

skill-manager#2 turns its NetworkPolicy on and OAuth off by default: the
meta chart keeps oauth.enabled, derives networkPolicy.ingressNamespaces
(muster's, the portal's, agent-manager's and the kagent namespace) and,
while agent-manager pins through it, serviceToken.secretName. The
connectivity release generates that Secret in the skill-manager's and the
kagent namespace and gives the migrate run its URL, the token and egress.
…sistant

# Conflicts:
#	CHANGELOG.md
#	UPGRADE.md
#	helm/agent-platform/README.md
#	helm/agent-platform/examples/customer-bom.yaml
#	helm/agent-platform/templates/_helpers.tpl
#	helm/agent-platform/templates/components.yaml
#	helm/agent-platform/values.yaml
@Rotfuks

Rotfuks commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

On the review of the default agent's prompt and skills:

  • Prompt (1): took your rewrite in f98d642, without schedules and automations.
  • Why a specialist agent (2): added to agent-platform-agent-routing in 96eb3ad.
  • Model and toolchains/workspace rules (3): in agent-platform-agent-management in 96eb3ad: the cheapest capable model, and defaultToolchains/defaultWorkspace only where the installation offers them.
  • Follow-ups: done in this PR in c568804: agent-platform-building-blocks, agent-platform-portal, agent-platform-slack and agent-platform-organizations, pinned on the default agent.

@Rotfuks

Rotfuks commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

On the review's further points:

Comment thread skills/agent-platform-slack/SKILL.md Resolved

@marians marians left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following up on my comment on agent-platform-slack line 17: skills can be pinned on any agent, so these phrases, which assume the reader is the default agent, would mislead other agents. Suggestion: describe the default agent in the third person in skills, as agent-platform-overview's "The default agent" section already does. The default agent's prompt says it is the General Assistant, so it can connect the two.

Comment thread skills/agent-platform-slack/SKILL.md Resolved
Comment thread skills/agent-platform-portal/SKILL.md Resolved
Comment thread skills/agent-platform-portal/SKILL.md Resolved

@marians marians left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default agent's display name should be configurable per installation, and the skills shouldn't hardcode it. The technical name is default-agent in all cases. Details inline.

Comment thread skills/agent-platform-overview/SKILL.md Resolved
…sistant

# Conflicts:
#	UPGRADE.md
#	helm/agent-platform/examples/customer-bom.yaml
#	helm/agent-platform/templates/_helpers.tpl
…om the release with agent-manager#290

skill-manager drops its unreleased marking (UNRELEASED, RENDER_AGAINST, the
Chart.yaml annotation) and runs in the ATS round trips. main's agent-manager
floor 2.22.0 met skillManagerFloor 2.22.0, whose closed values schema refuses
skillManager and installation: the floor is now the placeholder 2.24.0 until
agent-manager#290 is released.
…efaultAgent.displayName, defaultAgent.description)

The system message names the agent by its display name ([[ .DisplayName ]]).
The Agent's labels come from components.default-agent.labels.
…al name

Any agent can pin these skills; the display name is read live.
#1334)

* feat: the portal reads skills from the skill-manager from its floor on

From agent-platform.backstage.skillManagerFloor on, with the skill-manager on, the portal gets no skill repositories of its own (backstage.skillsRepositories []) and backstage.skillPullRequests keeps its GitHub egress for the skill pull requests it opens. An own backstage.skillsRepositories then fails the render. The platform skills name the skill-manager's plugin listing and its get_skill and get_skill_file tools.

* test: golden render of the portal's GitHub egress comment

* fix: keep backstage.skillPullRequests out of the backstage release

components.backstage.omitKeys drops backstage.skillPullRequests like the other wiring keys, so a value set on the meta chart does not reach the backstage chart's closed schema. The skill-source docs say a portal list fails the render from agent-platform.backstage.skillManagerFloor on.
QuentinBisson added a commit to giantswarm/giantswarm-platform-manager that referenced this pull request Nov 10, 2026
…ne unreleased floor

The 4.175.0 floor admitted holds on 4.175.0 to 4.177.x, released without
the skill-manager: their values schema refuses skillManager, skill-manager
and defaultAgent. One floor, skillManagerChart, for both features of
giantswarm/agent-platform#1265.

Refuse a skillManager.sources entry naming the platform's own repository
and skillManager.sources beside agentManager.skills.repositories, both of
which fail the meta chart's render. skillManager.appSecretName must be a
Secret name.

Signed-off-by: QuentinBisson <quentin@giantswarm.io>
…untime

The Helm lookup of the default ModelConfig is gone. Unset,
defaultAgent.modelConfig renders modelConfig.name "" (no model, agent chart
2.6.0, giantswarm/agent#130) and the label
agent-platform.giantswarm.io/follows-default-model: "true"; agent-manager
(defaultAgentModel.agent: default-agent, from
agent-platform.agentManager.skillManagerFloor, giantswarm/agent-manager#290)
sets the model. Set, it pins modelConfig.name without the label.

components.default-agent.versionRange and agent-manager.agentChart.semver move
to >=2.6.0 <3.0.0 (unreleased: Chart.yaml annotation, UNRELEASED, render
against the agent#130 build). managed-by and default are always set on the
Agent; components.default-agent.labels add to them.
…PGRADE names the 2.6.0 floor for pinned agent chart ranges

@QuentinBisson QuentinBisson left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving the default model off the Helm lookup is the right idea. Two things before merging, and one design point.

Blocking

  1. The default agent gets no model today. It renders with an empty model and the follow label, but agent-manager only gets defaultAgentModel from skillManagerFloor (2.24.0, unreleased). Nothing sets the model, so the agent never becomes Ready. Either keep the lookup until agent-manager#290 is released, or wait for that release.
  2. agent#130 must be released first. The range moves to >=2.6.0 and the chart is marked unreleased, so main can't be installed or released until agent 2.6.0 is out.

Design: set the default once, don't follow it

Kubernetes' default StorageClass, IngressClass and PriorityClass all fill in a default only when the field is empty, and never change it afterwards (StorageClass, IngressClass, PriorityClass). The follower keeps switching the default agent to the current default. That silently changes which provider sees everyone's conversations with it.

Suggestion: set the model only while it is empty, then leave it. The empty field is the signal, so the follows-default-model label can go. Warn when several defaults are marked. Name kagent-dev/kagent#3553 as the upstream fix.

Small

  • skillManagerFloor now also turns on model following; a neutral name would make that visible.
  • The labels schema accepts non-string values; use additionalProperties: {"type": "string"}.
  • The test that fails on the word lookup in the helper checks source text, not behaviour; it can go.

QuentinBisson added a commit to giantswarm/agentlab that referenced this pull request Nov 10, 2026
…k policy (#1235)

* feat(platform): wire the skill-manager's GitHub credential and network policy

On a chart that runs the skill-manager, the lab values give it the
credential agent-manager has (the skills GitHub App, else the
githubToken.source token) and make its own NetworkPolicy, on by default
in its chart, follow platform.networkPolicy: on, patch 11 adds the lab
Dex peer; off, the pod reaches the lab Dex. A released chart counts from
4.178.0 (placeholder for the release with giantswarm/agent-platform#1265),
a chart directory when its roster lists the component.

* refactor(platform): share the chart roster read and decouple skill-manager tests from the floor

SkillManagerChart reads the chart directory's roster through
chartDirRoster, which legacyChartDir now uses too. The tests no longer
depend on the placeholder floor or on DefaultChartVersion, which
Renovate moves past it; the legacy-shape test states per case whether the
chart runs the skill-manager; a test pins patch 11 on the skill-manager
chart's own policy.

* refactor(platform): read the skill-manager from the chart, not a release floor

The values carry the skill-manager block when the meta chart's schema or
defaults carry the skill-manager key, read from the chart itself
(chartValuesCarry), so a release, a branch build and a chart directory
are judged alike and no placeholder floor waits for a release.

The chart's schema and values load once per chart and run
(platformChartValuesOf), shared by the workspaces probe and the
skill-manager check. Unit tests read the chart as one that declares no
values, so none reaches a registry.
…in platform skills to the build's commit

- default-agent dependsOn kagent only: its skills are pinned at render and
  its model is set by defaultAgent.modelConfig or later by agent-manager, so
  a failed agent-manager, skill-manager or muster never holds its install.
- agent-manager no longer dependsOn skill-manager: it calls the
  skill-manager only when it pins a skill and answers that call unavailable
  while it is down.
- The platform skill source of a dev build reads the commit it was built
  from (the h<sha> of its version) instead of the default branch.
- skills.platformSource.ref (a full commit id) pins both the platform
  source and the default agent's skills to it, over the release tag and
  the dev build's commit.

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
…drop the follows-default-model label

agent-manager#290 sets the default agent's modelConfig.name only while it is
empty and never re-points it. The empty name is the signal; set
defaultAgent.modelConfig to pin or change the model.
Rotfuks added a commit to giantswarm/giantswarm-platform-manager that referenced this pull request Nov 11, 2026
…lt model once; name the chart's agent-skills source

agent-manager fills the default agent's model only while it has none and never re-points it (giantswarm/agent-platform#1265). The chart's skillManager.sources lists giantswarm/agent-skills, which a typed list replaces.
…settle the backstage skill floors

agent chart 2.6.0 is released: make sync-unreleased drops Chart.yaml's
agent-platform.giantswarm.io/unreleased, and verify-components-charts renders
default-agent against 2.6.0 (no UNRELEASED or RENDER_AGAINST entry).
skill-manager 0.1.0 is released too.

agent-platform.backstage.skillManagerFloor 3.36.0 is the first release with
giantswarm/backstage#3432, so it is no placeholder. skillSourcesFloor 3.31.0
is: object-form skill repositories (giantswarm/backstage#3355) are in no
release yet. agentManager.skillManagerFloor says that a 2.24.0 release
candidate before agent-manager#290 refuses the keys.

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
@Rotfuks
Rotfuks merged commit 3b61dce into main Nov 11, 2026
18 checks passed
@Rotfuks
Rotfuks deleted the feat/agent-manager-assistant branch November 11, 2026 22:20
fiunchinho added a commit to giantswarm/giantswarm-platform-manager that referenced this pull request Nov 12, 2026
* feat(agent-platform): Agent Manager inputs and skill repository objects

agentManagerAssistant.enabled (default true, false writes
components.agent-manager-assistant.enabled: false) and
agentManagerAssistant.modelConfig (writes agentManagerAssistant.modelConfig;
4 chart line, where kagent runs). agentManager.skills.repositories accepts
{url, ref, path, readOnly} entries. Defaults render nothing new.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* fix(agent-platform): gate Agent Manager inputs and skill repository objects on their releases

Refuse agentManagerAssistant.enabled=false and modelConfig on the 3 line,
without kagent and with a versions.chart hold below 4.175.0; refuse skill
repository objects on the 3 line and with an agent-manager hold below
2.19.0. Write object entries back with the keys they were read with.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* test(agent-platform): name repeated test strings as constants (goconst)

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* feat(agent-platform): skillManager.sources input; agent-manager skill repositories stay URLs

The skill-manager owns the skill sources (giantswarm/giantswarm#38322):
skillManager.sources (URLs or {url, ref, path, readOnly}, written as read)
renders the meta chart's skillManager.sources, on the 4 line where the
agent-manager runs, with no chart hold below the release with the
skill-manager (placeholder floor). The object form leaves
agentManager.skills.repositories.

* test(agent-platform): name the chart hold input as a constant (goconst)

* feat(agent-platform): rename the default agent's inputs to defaultAgent.*; skill sources must be http(s) URLs

Matches giantswarm/agent-platform#1265: the component is default-agent, the
meta value defaultAgent.modelConfig. skillManager.sources takes the meta
chart's URL pattern, so the render refuses what the chart's schema would.

* feat(agent-platform): skillManager.appSecretName input

The skill-manager reads its sources with the read-only skills GitHub App
named by skillManager.appSecretName (the meta chart's
skill-manager.github.app.secretName): a private source is listed only to
the people who can read it. Empty, anonymous reads of public sources.
Refused where skillManager.sources is: off the 4 line, without the
agent-manager, with a chart hold below the release with the skill-manager.

* fix(agent-platform): gate skill-manager and default agent inputs on one unreleased floor

The 4.175.0 floor admitted holds on 4.175.0 to 4.177.x, released without
the skill-manager: their values schema refuses skillManager, skill-manager
and defaultAgent. One floor, skillManagerChart, for both features of
giantswarm/agent-platform#1265.

Refuse a skillManager.sources entry naming the platform's own repository
and skillManager.sources beside agentManager.skills.repositories, both of
which fail the meta chart's render. skillManager.appSecretName must be a
Secret name.

Signed-off-by: QuentinBisson <quentin@giantswarm.io>

* fix(agent-platform): refuse agent-manager skill repositories the skill-manager replaces

From the meta chart with the skill-manager and agent-manager 2.24.0 on, the
agent-manager takes its skills from the skill-manager and the chart fails on
agent-manager.skills.repositories. Refuse the input there, unless a
versions.chart or versions.components.agent-manager hold keeps it below.

The default agent renders only where kagent and the agent-manager both run;
its inputs are refused elsewhere.

Signed-off-by: QuentinBisson <quentin@giantswarm.io>

* docs(agent-platform): an empty defaultAgent.modelConfig follows the installation's default model

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* refactor(agent-platform): one 4 chart line refusal; name the skill-manager gates after the chart

refuseOffLineFour replaces the copied sentence; checkSkillManagerChart, skillManagerChartChoice and agentManagerViaSkillManager follow the meta chart's skillManagerFloor and viaSkillManager.

Signed-off-by: QuentinBisson <quentin@giantswarm.io>

* refactor(agent-platform): name checkSkillSourceConflicts after what it refuses; the both-lists refusal names the agent-manager hold

Signed-off-by: QuentinBisson <quentin@giantswarm.io>

* docs(agent-platform): the default agent gets the installation's default model once; name the chart's agent-skills source

agent-manager fills the default agent's model only while it has none and never re-points it (giantswarm/agent-platform#1265). The chart's skillManager.sources lists giantswarm/agent-skills, which a typed list replaces.

* chore: recompute the pull request's mergeability after the merge of main

* fix(agent-platform): gate skill-manager inputs on release candidates; refuse agent-manager skill repositories only from a 2.24.0 hold

- skillManager.sources, skillManager.github.app.secretName and
  defaultAgent.modelConfig are refused on an installation that runs stable
  releases only while 4.179.0 is a release candidate
  (skillManagerChartReleased, flipped once it is stable).
- defaultAgent.enabled: false is accepted on any 4 chart release:
  components is open in every values schema.
- skillManagerChart is 4.179.0-rc.9, the first candidate with the keys.
- agentManager.skills.repositories is refused only where a
  versions.components.agent-manager hold has a floor at 2.24.0 or later
  (componentFloorAtLeast, as the meta chart reads it); the chart's default
  range (>=2.22.0) keeps the agent-manager's own list.
- an agentManager.skills.repositories entry naming the platform's own
  repository is refused on a chart that lists it itself, as the meta chart
  fails on it.

* docs(agent-platform): skill-manager and default agent inputs need 4.179.0; the default model from agent-manager 2.24.0 on

- the inputs gated on 4.179.0 run only where the installation runs that
  release or a later one; defaultAgent.enabled: false on any release.
- an empty defaultAgent.modelConfig gets the installation's default model
  from agent-manager 2.24.0 on; below it, set it or the agent has no model.
- agentManager.skills.repositories: refused from a 2.24.0 agent-manager
  hold, and naming the platform's own repository.

* fix(agent-platform): take the skill-manager and default agent inputs on stable installations

agent-platform 4.179.0 and agent-manager 2.24.0 are stable (2026-11-12).
skillManagerChartReleased refused skillManager.sources,
skillManager.github.app.secretName and defaultAgent.modelConfig on every
installation that runs stable releases only, gazelle among them. It is gone:
a versions.chart hold below 4.179.0-rc.9 is the only chart gate left, and
holds that admit the stable release or a candidate with the keys take them.

The refusal of skillManager.sources beside agentManager.skills.repositories
is this definition's choice, not the chart's: the meta chart takes both. Its
message and the docs now say so.

defaultAgent.modelConfig: the agent gets a model by itself only where the
agent-manager's version range starts at 2.24.0; elsewhere it has none and
kagent reports it not ready.

Signed-off-by: Jose Armesto <github@armesto.net>

---------

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Signed-off-by: Jose Armesto <github@armesto.net>
Co-authored-by: QuentinBisson <quentin@giantswarm.io>
Co-authored-by: Jose Armesto <github@armesto.net>
teemow added a commit that referenced this pull request Nov 13, 2026
* origin/main: (21 commits)
  feat(default-agent): make the General Assistant proactive (#1399)
  fix(connectivity): bound MCPServer descriptions, mirror kagent's and describe mcp-kubernetes (#1398)
  feat: support agent-manager 3.x and on-demand GitHub grants (#1375)
  feat(default-agent): tag the General Assistant general and platform (#1397)
  feat(connectivity): describe the kagent MCPServer for the developer portal (#1390)
  docs(skills): guard agent creation against silent wrong keys, skipped listings and wrong model routes (#1392)
  fix(network-policies): admit only the owning Gateway's Envoy proxy, not every Envoy pod (#1394)
  chore: move the ATS default and the docs example ModelConfig to Claude Sonnet 5.5 (#1395)
  refactor(organizations): one source for agent-platform-operator's names in both charts (#1389)
  feat(agent-manager): take agent-manager 2.24.0 or later, for the Dev Portal's organization pages (#1371)
  feat(helm): annotate component HelmReleases and OCIRepositories with the owning team (#1385)
  fix(skill-manager): reach the login provider on a private installation (#1384)
  fix(skill-manager): take the OAuth client from muster's login, like the other managers (#1381)
  ci: render every component on a schedule against main and the latest releases (#1377)
  docs(skills): show a sign-in muster refuses instead of calling core_auth_login (#1376)
  chore(deps): update gsoci.azurecr.io/giantswarm/agent-manager docker tag to v2.24.0 (#1370)
  test(organizations): wait for every admission policy and RBAC object before the dry runs (#1373)
  fix(tenants): let every organization member read its members (#1369)
  feat: ship the default agent (General Assistant) and the platform skills with the chart (#1265)
  test(organizations): prove that an organization admin's Secret delete never answers with the Secret, and pin the admin mirrors (#1366)
  ...

# Conflicts:
#	helm/agent-platform/README.md
#	helm/agent-platform/examples/customer-bom.yaml
#	helm/agent-platform/templates/_helpers.tpl
#	helm/agent-platform/values.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants